home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
Event
/
Static
/
Makefile
< prev
Wrap
Makefile
|
1995-09-04
|
2KB
|
104 lines
ObjectFiles = \
o.Event \
o.MClaimInit \
o.MRelease \
o.MRelMsg \
o.MRelWindow \
o.taskname \
LibName = Event
# Template makefile which makes normal
# .o files for use in the main static
# linking DeskLib.
# The macro $(ObjectFiles) should be set at the
# start of this file to be a space-separated
# list of object files.
# This is done by 'Makatic'.
# The macro $(LibName) should also be set at the
# start of this file, to be the name of the
# DeskLib sublibrary.
# This is done by 'Makatic'.
# Compiler and linker flags, These can be anything.
# All essential flags are included in the macros
# $(CC) and $(ASM)
#
CCFlags = -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
ASMFlags = -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
CC = cc -c $(CCFlags)
ASM = objasm $(ASMFlags)
# -------------------------------------------------------
# Everything below here should probably not be changed...
# -------------------------------------------------------
# Here's what we want to make...
#
All: $(ObjectFiles)
VPATH = @.^
.SUFFIXES: .c .s .o
.c.o:
$(CC) $< -o $@
.s.o:
$(ASM) -from $< -to $@
# Dynamic dependencies:
o.Event: ^.c.Event
o.Event: DeskLib:h.Error
o.Event: DeskLib:h.Core
o.Event: DeskLib:h.WimpSWIs
o.Event: DeskLib:h.Wimp
o.Event: ^.h.EventDefs
o.Event: DeskLib:h.LinkList
o.Event: DeskLib:h.Event
o.MClaimInit: ^.c.MClaimInit
o.MClaimInit: ^.h.EMsgDefs
o.MClaimInit: DeskLib:h.LinkList
o.MClaimInit: DeskLib:h.Core
o.MClaimInit: DeskLib:h.Error
o.MClaimInit: DeskLib:h.Event
o.MClaimInit: DeskLib:h.Wimp
o.MClaimInit: DeskLib:h.EventMsg
o.MRelease: ^.c.MRelease
o.MRelease: ^.h.EMsgDefs
o.MRelease: DeskLib:h.LinkList
o.MRelease: DeskLib:h.Core
o.MRelease: DeskLib:h.Error
o.MRelease: DeskLib:h.Event
o.MRelease: DeskLib:h.Wimp
o.MRelease: DeskLib:h.EventMsg
o.MRelMsg: ^.c.MRelMsg
o.MRelMsg: ^.h.EMsgDefs
o.MRelMsg: DeskLib:h.LinkList
o.MRelMsg: DeskLib:h.Core
o.MRelMsg: DeskLib:h.Error
o.MRelMsg: DeskLib:h.Event
o.MRelMsg: DeskLib:h.Wimp
o.MRelMsg: DeskLib:h.EventMsg
o.MRelWindow: ^.c.MRelWindow
o.MRelWindow: ^.h.EMsgDefs
o.MRelWindow: DeskLib:h.LinkList
o.MRelWindow: DeskLib:h.Core
o.MRelWindow: DeskLib:h.Error
o.MRelWindow: DeskLib:h.Event
o.MRelWindow: DeskLib:h.Wimp
o.MRelWindow: DeskLib:h.EventMsg
o.taskname: ^.c.taskname
o.taskname: DeskLib:h.Event
o.taskname: DeskLib:h.Core
o.taskname: DeskLib:h.Wimp